<meta charset="UTF-8">

<!-- 增删改查 -->
<div id="toolbar" class="btn-group">
	<button type="button" class="btn btn-default" onclick="classTable.btn_delete()">
		<span class="glyphicon glyphicon-remove"></span>删除
	</button>
</div>

<table id="reader">
	<thead>
		<tr>
			<th data-checkbox="true"></th>
			<th data-field="id" data-valign="middle" data-order= 'asc' data-sortable= 'true'  data-align="center" >id</th>
			<th data-field="username" data-valign="middle" data-align="center" >用户名</th>
			<th data-field="name" data-valign="middle" data-align="center" >姓名</th>
			<th data-field="email" data-valign="middle" data-align="center" >电子邮箱</th>
			<th data-field="phone" data-valign="middle" data-align="center" >联系电话</th>
		</tr>
	</thead>
</table>

<script>
	var option = {
		url: 'reader/page1',
		urls: 'reader',
		addurl: 'edit'
	}
	var table = $("#reader");
	var classTable = new bootstrapTable(option, table);
	classTable.init();
</script>
